home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 70 / Cine Live 70.iso / pc / Data / Interface / rep2.k < prev    next >
Encoding:
Text File  |  2002-06-05  |  4.9 KB  |  233 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000152; 
  4.     release Editor:
  5.         IOWindow is {$000000D3,$0000004A,$00000290,$000001EE,$00000000,$00000000,$00000000,$00000000};
  6.         LayoutWindow is {$000000B5,$0000003D,$00000293,$00000248,$00000000,$00000000,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMusic2,
  16.         ofond3,
  17.         obouton_sommaire4,
  18.         obouton_retour5,
  19.         obouton_lancer6,
  20.         oVid_o7
  21.     ];
  22.     Events is [
  23.         cOnscreenEvent
  24.         with 
  25.             Commands is [
  26.                 cRunCommand
  27.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  28.             ];
  29.         end,
  30.         cKeyboardEvent
  31.         with Test is IsSpace; 
  32.             Commands is [
  33.                 cRunCommand
  34.                 with Flags is $00000004; Target is oVid_o7; Mode is Toggle; end
  35.             ];
  36.         end,
  37.         cKeyboardEvent
  38.         with Value is "+"; 
  39.             Commands is [
  40.                 cSetVolumeCommand
  41.                 with Mode is ExecuteHigher; end
  42.             ];
  43.         end,
  44.         cKeyboardEvent
  45.         with Value is "-"; 
  46.             Commands is [
  47.                 cSetVolumeCommand
  48.                 with Flags is $00000004; Mode is ExecuteLower; end
  49.             ];
  50.         end,
  51.         cKeyboardEvent
  52.         with Value is "m"; 
  53.             Commands is [
  54.                 cRunCommand
  55.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  56.             ];
  57.         end
  58.     ];
  59. end;
  60.  
  61. object oMusic2 is cSound
  62. with 
  63.     Name is "Music"; 
  64.     
  65.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  66.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  67.     Looping is true; 
  68.     URL is "data/Sons/4.mp3"; URLOption is GetDiskURL; 
  69.     
  70. end;
  71.  
  72. object ofond3 is cImage
  73. with 
  74.     Flags is $00000150; 
  75.     Name is "fond"; 
  76.     Enabled is false; 
  77.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  78.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  79.     
  80.     URL is "data/Images/r2.jpg"; URLOption is GetDiskURL; 
  81.     
  82.     
  83. end;
  84.  
  85. object obouton_sommaire4 is cImage
  86. with 
  87.     Name is "bouton sommaire"; 
  88.     Shown is false; Cursor is oFingerCursor; 
  89.     X is 629; Y is 573; 
  90.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  91.     
  92.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  93.     
  94.     
  95.     Events is [
  96.         cMouseEnterEvent
  97.         with 
  98.             Commands is [
  99.                 cShowCommand
  100.                 with Target is oTargetSelf; end
  101.             ];
  102.         end,
  103.         cMouseLeaveEvent
  104.         with 
  105.             Commands is [
  106.                 cShowCommand
  107.                 with Target is oTargetSelf; Mode is Clear; end
  108.             ];
  109.         end,
  110.         cMouseUpEvent
  111.         with Flag is true; 
  112.             Commands is [
  113.                 cBrowseCommand
  114.                 with URL is "../../Data/Interface/sommaire.k"; end
  115.             ];
  116.         end
  117.     ];
  118. end;
  119.  
  120. object obouton_retour5 is cImage
  121. with 
  122.     Name is "bouton retour"; 
  123.     Shown is false; Cursor is oFingerCursor; 
  124.     X is 321; Y is 573; 
  125.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  126.     
  127.     URL is "data/Images/vid%20retour.jpg"; URLOption is GetDiskURL; 
  128.     
  129.     
  130.     Events is [
  131.         cMouseEnterEvent
  132.         with 
  133.             Commands is [
  134.                 cShowCommand
  135.                 with Target is oTargetSelf; end
  136.             ];
  137.         end,
  138.         cMouseLeaveEvent
  139.         with 
  140.             Commands is [
  141.                 cShowCommand
  142.                 with Target is oTargetSelf; Mode is Clear; end
  143.             ];
  144.         end,
  145.         cMouseUpEvent
  146.         with Flag is true; 
  147.             Commands is [
  148.                 cBackCommand
  149.                 with end
  150.             ];
  151.         end
  152.     ];
  153. end;
  154.  
  155. object obouton_lancer6 is cImage
  156. with 
  157.     Name is "bouton lancer"; 
  158.     Shown is false; Cursor is oFingerCursor; 
  159.     X is 475; Y is 573; 
  160.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  161.     
  162.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  163.     
  164.     
  165.     Events is [
  166.         cMouseEnterEvent
  167.         with 
  168.             Commands is [
  169.                 cShowCommand
  170.                 with Target is oTargetSelf; end
  171.             ];
  172.         end,
  173.         cMouseLeaveEvent
  174.         with 
  175.             Commands is [
  176.                 cShowCommand
  177.                 with Target is oTargetSelf; Mode is Clear; end
  178.             ];
  179.         end,
  180.         cMouseUpEvent
  181.         with Flag is true; 
  182.             Commands is [
  183.                 cShowCommand
  184.                 with Target is oVid_o7; end,
  185.                 cEnableCommand
  186.                 with Target is oVid_o7; end,
  187.                 cRunCommand
  188.                 with Target is oVid_o7; Rewind is true; end,
  189.                 cRunCommand
  190.                 with Target is oMusic2; Mode is Clear; Rewind is true; end
  191.             ];
  192.         end
  193.     ];
  194. end;
  195.  
  196. object oVid_o7 is cMPEGMovie
  197. with 
  198.     Flags is $00000150; 
  199.     Name is "Vid\$E9o"; 
  200.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  201.     
  202.     Width is 800; Height is 600; 
  203.     
  204.     URL is "data/Videos/r2.mpg"; URLOption is GetDiskURL; 
  205.     Events is [
  206.         cMouseUpEvent
  207.         with Flags is $00000004; Flag is true; 
  208.             Commands is [
  209.                 cShowCommand
  210.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  211.                 cEnableCommand
  212.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  213.                 cRunCommand
  214.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; Rewind is true; end,
  215.                 cRunCommand
  216.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  217.             ];
  218.         end,
  219.         cFinishedEvent
  220.         with Flags is $00000004; 
  221.             Commands is [
  222.                 cShowCommand
  223.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  224.                 cEnableCommand
  225.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  226.                 cRunCommand
  227.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; Rewind is true; end,
  228.                 cRunCommand
  229.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  230.             ];
  231.         end
  232.     ];
  233. end;